﻿CREATE TABLE [dbo].[Invoice] (
    [ID_Invoice]  INT           IDENTITY (1, 1) NOT NULL,
    [Id_Company]  INT           NOT NULL,
    [Id_Order]    INT           NULL,
    [Id_Client]   INT           NULL,
    [Id_Seller]   INT           NULL,
    [OrderDate]   SMALLDATETIME NOT NULL,
    [InvoiceFile] VARBINARY (1) NULL
);

